﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.EContract.Dto
{
    /// <summary>
    /// 电子合同响应参数基类
    /// </summary>
    public class ResponseBaseDto
    {
        /// <summary>
        /// api版本
        /// </summary>
        public string apiVersion { get; set; }
        /// <summary>
        /// 错误信息，如果不出错该字段不存在
        /// </summary>
        public EContractError error { get; set; }
    }

    /// <summary>
    /// 错误信息，如果不出错该字段不存在
    /// </summary>
    public class EContractError
    {
        /// <summary>
        /// 错误代码
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 错误描述
        /// </summary>
        public string message { get; set; }
    }
}
